package gamagora.game.world.maps.game
{
	import gamagora.game.entity.*;
	import gamagora.game.world.maps.OSMap;

	public class OSMap13 extends OSMap
	{
		public function OSMap13()
		{
			super();

			var ground:OSGround = new OSGround(420, 1060, 200, 20, 0, false);
			ground.setNoErosionDown([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(0, 1040, 960, 40, 0, false);
			ground.setNoErosionUp([18, 19]);
			ground.setNoErosionDown([48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95]);
			ground.setNoErosionLeft([0, 48]);
			ground.setNoErosionRight([47, 95]);
			ground.erode();
			add(ground);

			ground = new OSGround(60, 360, 120, 580, 0, false);
			ground.erode();
			add(ground);

			add(new OSBird(80, 320));

			add(new OSMovingBox(80, 960));

			ground = new OSGround(360, 360, 120, 440, 0, false);
			ground.setNoErosionDown([126, 127, 128, 129, 130]);
			ground.setNoErosionRight([119, 125, 131]);
			ground.erode();
			add(ground);

			ground = new OSGround(360, 800, 100, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4]);
			ground.setNoErosionDown([0, 1, 2, 3]);
			ground.erode();
			add(ground);

			ground = new OSGround(360, 820, 80, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3]);
			ground.setNoErosionDown([0, 1, 2]);
			ground.erode();
			add(ground);

			ground = new OSGround(360, 840, 60, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2]);
			ground.setNoErosionDown([0, 1]);
			ground.erode();
			add(ground);

			ground = new OSGround(360, 860, 40, 180, 0, false);
			ground.setNoErosionUp([0, 1]);
			ground.setNoErosionDown([16, 17]);
			ground.erode();
			add(ground);

			add(new OSCage(480, 616, false));

			add(new OSCage(480, 676, false));

			ground = new OSGround(480, 740, 480, 60, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]);
			ground.setNoErosionLeft([0, 24, 48]);
			ground.setNoErosionRight([23, 47, 71]);
			ground.erode();
			add(ground);

			add(new OSMonkey(540, 968));

		}
	}
}
